/**
 * Created by fcs on 2014/11/19.
 */
$(window).ready(function() {
        var img1 = $("#imgid");
        var iheight = img1.height();
        var iwidth = img1.width();
        img1.height(iheight);
        img1.width(iwidth);
        img1.css({"height": (iheight * 0.5), "width": (iwidth * 0.5)})
            .on("mouseover", function () {
                img1.css({"height": iheight * 0.5, "width": iwidth * 0.5});
            })
            .on("mouseout", function () {
                img1.css({"height": (iheight), "width": (iwidth)});
            });
    }
);